<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-label="Close" ng-click="addModal.close()">
        <span aria-hidden="true">×</span></button>
    <h4 class="modal-title">添加品牌</h4>
</div>
<div class="col-sm-12 modal-body">
    <div class="box-body">
        <form name="addFrom">
            <div class="form-group col-sm-12">
                <label>品牌名称</label><label style="color:red;">*</label>
                <input ng-required="true" placeholder="请输入品牌名称" class="form-control" name="brandName"
                       ng-model="addParam.name">
            </div>
            <!--<div class="form-group col-sm-6">-->
                <!--<label>上级品牌名称</label>-->
                <!--<select ng-required="false" class="form-control" name="brandName"-->
                        <!--ng-model="addParam.parentId" ng-options="c.id as c.name for c in brandList">-->
                    <!--<option value="">（顶级品牌）</option>-->
                <!--</select>-->
            <!--</div>-->
            <div class="form-group col-sm-12">
                <label>描述</label>
                <textarea class="form-control" ng-model="addParam.description"></textarea>
            </div>
        </form>
    </div>
</div>
<div class="modal-footer">
    <button type="submit" class="btn btn-primary" ng-click="saveBrand(addFrom)">
        保存
    </button>
    <button type="submit" class="btn btn-default pull-right"
            ng-click="addModal.close()">
        关闭
    </button>
</div>